package com.yuexunit.operationman.nbsy.module.InterventionalOperation;

import android.content.Context;
import android.content.res.Resources;

import com.yuexunit.operationman.nbsy.R;
import com.yuexunit.operationman.nbsy.module.InterventionalOperation.Bean.InterNursingBean;

import java.util.ArrayList;

/**
 * Created by work-jx on 2017/7/24.
 */
public class InterNurseContracts {
    public static final ArrayList<InterNursingBean.ObjectEntity.InterNursingItemListEntity> interNursingItemListEntities(Context context)
    {
        Resources res =context.getResources();
        String[] languages = res.getStringArray(R.array.internursing);
        ArrayList<InterNursingBean.ObjectEntity.InterNursingItemListEntity> interNursingItemListEntities = new ArrayList<>();
        for(int i = 0; i<languages.length;i++)
        {
            InterNursingBean.ObjectEntity.InterNursingItemListEntity interNursingItemListEntity = new InterNursingBean.ObjectEntity.InterNursingItemListEntity();
            interNursingItemListEntity.setItemCode(languages[i]);
            interNursingItemListEntity.setItemValue("");
            interNursingItemListEntity.setItemName("");
            interNursingItemListEntity.setInterItemId("");
            interNursingItemListEntity.setInterId("");
            interNursingItemListEntity.setCreateTime("");
            interNursingItemListEntities.add(interNursingItemListEntity);
        }
        return interNursingItemListEntities;
    };


}
